package com.szw.dlyk.service;

import com.github.pagehelper.PageInfo;
import com.szw.dlyk.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szw.dlyk.query.UserQuery;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
* @author asus
* @description 针对表【t_user(用户表)】的数据库操作Service
* @createDate 2024-01-21 18:16:51
*/
public interface UserService extends IService<User>, UserDetailsService {

    PageInfo<User> getUsersByPage(Integer current);

    User getUserDetailById(Integer id);

    int saveUser(UserQuery userQuery);

    int updateUser(UserQuery userQuery);

    int deleteUserById(Integer id);

    int batchDeleteUser(List<String> idList);


    List<User> getOwnerList();
}
